package com.xh.fma.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xh.common.utils.PageUtils;
import com.xh.fma.commodity.entity.AttrEntity;

import java.util.Map;

/**
 * 商品属性表
 *
 * @author sjf
 * @email xhyy7762@gmail.com
 * @date 2023-05-28 11:16:29
 */
public interface AttrService extends IService<AttrEntity> {

    void saveAttrAndRelation(AttrEntity attr);
    PageUtils queryPage(Map<String, Object> params);
    PageUtils queryPageBySelect(Map<String, Object> params,Long categoryId,int attrType);
    PageUtils queryPageByRelation(Map<String, Object> params,Long attrGroupId);
}

